<!--{$list | dump}-->
<style>
	.new-contact-avator{
    background: url("https://s1.mi-img.com/img/micloudv2/avator3.png") no-repeat scroll 0 -75px transparent;border: 1px solid #B5B8B9;border-radius: 3px 3px 3px 3px;cursor: default; height: 58px;width: 58px;float:left;}
	.personal-data{height:100%;padding:10px 20px 0}
	.contact-base-msg{border:1px solid #CFD5D8;border-radius: 6px 6px 6px 6px;width:82%;height:122px;margin-left:75px}
	.contact-base-msg > div{width:100%;height:40px;}
	.contact-base-msg > div.company-name-container{border:1px solid #CFD5D8;border-width:1px 0;}
	.contact-base-msg > div > input{width:95%;height:30px;border-width:0px;box-shadow: 0 0px 0px ;}
	.contact-msg-container{width:100%;margin:10px auto;height:40px;border:1px solid #CFD5D8;border-radius: 6px 6px 6px 6px;}
	.contact-msg-container > span{width:74px;background:#F5F7F8;height:40px;display:block;border-radius:6px 0 0 6px;border-right:1px solid #CFD5D8;color: #7A7B7C;line-height:40px;text-align:center;float:left}
	.contact-msg-container > input{width: 79%;height:30px;border-width:0px;box-shadow: 0 0px 0px ;}
</style>
<div class="personal-data"><div> <span{$list.account}></span></div>
	<form method="post" id="add-contact-form" onsubmit="return false;">
	<div style="margin-top:10px;">
		<input type="hidden" name="uid" value="{$list.uid}">
		<div class="new-contact-avator"></div>
		<div class="contact-base-msg">
			
			<div><input type="text" placeholder="姓名" name="company_contacter" value="{$list.company_contacter}"></div>
			<div class="company-name-container"><input type="text" placeholder="公司名称" value="{$list.company_name}" name="company_name"></div>
			<div><input type="text" placeholder="职位" value="{$list.company_position}" name="company_position"></div>
		</div>
		<div class="contact-msg-container">
			<span>公司地址</span>
			<input type="text" placeholder="公司地址" value="{$list.company_address}" name="company_address">
		</div>
		<div class="contact-msg-container">
			<span>手机</span>
			<input type="text" placeholder="手机" value="{$list.contact_mobilephone}" name="contact_mobilephone">
		</div>
		<div class="contact-msg-container">
			<span>公司电话</span>
			<input type="text" placeholder="公司电话" value="{$list.contact_telphone}" name="contact_telphone">
		</div>
		<textarea placeholder="备注" style="width:97%;height:80px" name="remark">{$list.remark}</textarea>
	</div>
	<input type="submit" class="btn btn-primary" value="确实"/>
	</form>
</div>
<script>
	//提交表单
	$.getScript("__PUBLIC__/js/jquery/jquery.form.js",function(){
		$("#add-contact-form").submit(function(){
			$(this).ajaxSubmit({
				url:'__APP__/Account/accountInfo',
				dataType:'json',
				success:function(json){
					alert(json.info);
					$(".dynamic-html").empty();
				}
			});
		});
	});
</script>
